package com.neuedu.his.service;

import com.neuedu.his.entity.MedicalRecord;
import com.neuedu.his.entity.Register;

import java.util.List;

public interface MedicalRecordService {
    public List<MedicalRecord> selectAll(MedicalRecord med);
    public MedicalRecord selectById(MedicalRecord med);
    public int update(MedicalRecord med);
    //改为暂存状态
    public int UpdateToStorage(MedicalRecord med);
    //修改状态为提交
    public int UpdateToSub(MedicalRecord med);
    //确诊患者
    public int UpdateToDef(MedicalRecord med);
    //通过病历号查询
    public MedicalRecord selectByCaseNumber(MedicalRecord CaseNumber);
    //通过挂号患者的名字来查询生病情况
    public MedicalRecord selectMedRecordByRealName(Register reg);
    //查找病例未确诊病例
    public List<MedicalRecord>selectUndefinite(MedicalRecord med);
    //查找已确诊病例
    public List<MedicalRecord> selectDefinite(MedicalRecord med);
}
